<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html charset="UTF-8">
<head>
    <meta charset="utf-8">
    <link href="/Template/pc/default2/Static/css/Style.css" rel="stylesheet" type="text/css">
    <link rel="shortcut icon" href="<?php echo ($tpshop_config['shop_info_store_ico']); ?>"/>
    <link rel="stylesheet" href="/Template/pc/default2/Static/css/index.css" type="text/css"> 
    <script type="text/javascript" src="/Public/js/jquery-1.8.3.min.js"></script>
    <script src="/Public/js/jquery-1.10.2.min.js"></script>
    <script src="/Template/pc/default2/Static/js/slider.js"></script>
    <title><?php echo ($tpshop_config["shop_info_store_title"]); ?></title>
    <!--菜单样式-->

 <!--引入 js css img 文件-->
<link href="/Public/css/page.css" rel="stylesheet" type="text/css"> <!--引入分页css 文件-->
<style>
    .Inquire-main {
        height: 200px;
    }
</style>
</head>
<body>
    <!--导航  start //-->
    <!DOCTYPE html>
<html charset="UTF-8">
    <head>
        <meta charset="utf-8">
        <link href="/Template/pc/default2/Static/css/style.css" rel="stylesheet" type="text/css">
        <link rel="shortcut icon" href="<?php echo ($tpshop_config['shop_info_store_ico']); ?>"/>
        <link rel="stylesheet" href="/Template/pc/default2/Static/css/index.css" type="text/css"> 
        <script type="text/javascript" src="/Public/js/jquery-1.8.3.min.js"></script>
        <script src="/Public/js/jquery-1.10.2.min.js"></script>
        <script src="/Template/pc/default2/Static/js/slider.js"></script>
        <title><?php echo ($tpshop_config["shop_info_store_title"]); ?></title>
        <!--菜单样式-->
        <script src="/Public/js/jquery-1.10.2.min.js"></script>
        <script src="/Public/js/global.js"></script>
        <!--最顶部-->
  <!--  <div class="site-topbar">
        <div class="layout">
            <div class="t1-l">
                <ul class="t1-l-ul islogin">
                    <li class="t1font"> <a href="<?php echo U('Home/User/index');?>" class="logon userinfo"></a></li>
                    <li class="t1img"><a href="<?php echo U('Home/user/logout');?>" onclick="return confirm('确认退出吗  否则请取消？');"><b style="color:red;">安全退出</b></a></li>      
                    <li class="t1img">&nbsp;</li>

                </ul>
            </div>
            <div class="t1-r">
                <ul class="t1-r-ul islogin" style="display:none;">                   
                    <li class="t1font"><a href="<?php echo U('Home/User/order_list');?>">我的订单</a></li>
                    <li class="t1img">&nbsp;</li>
                    <li class="t1font"><a href="<?php echo U('Home/Cart/cart');?>">购物车</a></li>
                    <li class="t1img">&nbsp;</li>
                    <li class="t1font"><a href="<?php echo U('Home/User/withdrawals');?>">提现申请</a></li>
                    <li class="t1img">&nbsp;</li>   
                </ul>
            </div>
        </div>
    </div> -->

    <header>

        <div class="layout">

            <!--logo开始-->
            <div class="logo"><a href="/Home/User/index.html" title="<?php echo ($tpshop_config['shop_info_store_name']); ?>"><img src="<?php echo ($tpshop_config['shop_info_store_logo']); ?>" alt="<?php echo ($tpshop_config['shop_info_store_name']); ?>"></a></div>
            <!--logo结束-->

           
            <div class="qr-code">
                <img src="<?php echo ($tpshop_config['shop_info_store_weixin']); ?>" alt="二维码" />
<!--                <p>扫一扫</p>-->
            </div>
        </div>
    </header>
    <!-- 导航-开始-->


    <div class="navigation">
        <div class="layout">
            <div class="ongoods nav-box" id="navi">
                <ul>
                    <li><a href="/index.php?m=Home&c=User&a=index"><span><img src="/Template/pc/default2/Static/img/user/ico_1.png"></span>首页</a></li>
                    <?php
 $md5_key = md5("SELECT * FROM `__PREFIX__navigation` where is_show = 1 ORDER BY `sort` DESC"); $sql_result_v = S("sql_".$md5_key); if(empty($sql_result_v)) { $Model = new \Think\Model(); $result_name = $sql_result_v = $Model->query("SELECT * FROM `__PREFIX__navigation` where is_show = 1 ORDER BY `sort` DESC"); S("sql_".$md5_key,$sql_result_v,TPSHOP_CACHE_TIME); } foreach($sql_result_v as $k=>$v): ?><li class="page"><a href="<?php echo ($v[url]); ?>" <?php if($v[is_new] == 1): ?>target="_blank"<?php endif; ?><span><?php echo ($v[name]); ?></span></a></li><?php endforeach; ?>
                    <li><a href="/index.php?m=Home&c=User&a=logout" onclick="return confirm('确认退出吗  否则请取消？');"><span><img src="/Template/pc/default2/Static/img/user/ico_7.png"></span>安全退出</a></li>
                    <li style="color:#dfcc70; font-size:14px; margin-left:20px;"> 欢迎您：<?php echo ($user["account"]); ?>&nbsp;&nbsp;级别：<i><?php echo ($level["level_name"]); ?></i></li>
                </ul>
            </div>
        </div>
    </div>
    <!-- 导航-结束-->
    <script>
        $(function () {
            var active_li = '<?php echo ($active); ?>';
            if (active_li) {
                $('li').remove('curr-res');
                $('#' + active_li).addClass('curr-res');
            }

            var uname = getCookie('uname');
            if (uname == '') {
                $('.islogin').remove();
                $('.nologin').show();
            } else {
                $('.nologin').remove();
                $('.islogin').show();
                $('.userinfo').html(decodeURIComponent(uname));
            }
            get_cart_num();
        })



        function get_cart_num() {
            var cart_cn = getCookie('cn');
            if (cart_cn == '') {
                $.ajax({
                    type: "GET",
                    url: "/index.php?m=Home&c=Cart&a=header_cart_list", //+tab,
                    success: function (data) {
                        cart_cn = getCookie('cn');
                        $('#cart_quantity').html(cart_cn);
                    }
                });
            }
            $('#cart_quantity').html(cart_cn);
        }
        /**
         * 鼠标移动端到头部购物车上面 就ajax 加载
         */
    // 鼠标是否移动到了上方
        var header_cart_list_over = 0;
        $("#header_cart_list > .micart > .les").hover(function () {
            if (header_cart_list_over == 1)
                return false;
            header_cart_list_over = 1;
            $.ajax({
                type: "GET",
                url: "/index.php?m=Home&c=Cart&a=header_cart_list", //+tab,
                success: function (data) {
                    $("#header_cart_list > .micart > .ris").html(data);
                    get_cart_num();
                }
            });
        }).mouseout(function () {

            (typeof (t) == "undefined") || clearTimeout(t);
            t = setTimeout(function () {
                header_cart_list_over = 0; /// 标识鼠标已经离开
            }, 1000);
        });
    </script> <!--引入头部导航  //-->
    <!--导航 End  //-->
    <div id="main">
        <!--右边菜单-->
        <div class="Side-box">
    <dl>
        <!--start -->
        <dt class="dtbox">团队管理</dt>
        <dd class="ddbox list-box">
            <ul>
                <li><a href="/Home/Index/reg/tjr_accname/<?php echo ($account); ?>"  target='_bank'>会员注册</a></li>
                <!-- <li><a href="/Home/Zmd/arrangefor.html" <?php if(strtolower(ACTION_NAME) == 'arrangefor'): ?>class="active"<?php endif; ?>>安置网络列表</a></li> -->
                <li><a href="/Home/Zmd/team.html" <?php if(strtolower(ACTION_NAME) == 'team'): ?>class="active"<?php endif; ?>>我的团队</a></li>
                <?php if(($user['zmd'] != 3) AND ($user['level'] > 1)): ?><li><a href="/Home/Zmd/zmd_add.html" <?php if(strtolower(ACTION_NAME) == 'zmd_add'): ?>class="active"<?php endif; ?>>服务中心申请</a></li><?php endif; ?>
                <?php if($user["zmd"] > 1): ?><li><a href="/Home/Zmd/zmd_list.html" <?php if(strtolower(ACTION_NAME) == 'zmd_list'): ?>class="active"<?php endif; ?>>我的推广链接</a></li><?php endif; ?>
                <li><a href="/Home/Zmd/tjr_list/is_activate/all.html"  <?php if(strtolower(ACTION_NAME) == 'tjr_list'): ?>class="active"<?php endif; ?>>推荐会员列表</a></li>
            </ul>
        </dd>
    </dl>
    <!--快捷导航  start//-->
    <!--<dl>
    <dt class="dtbox">快捷导航</dt>
    <dd class="ddbox Quick-box">
        <ul>
            <li><a href="/Home/Bank/user_money_zz.html"><i><img src="/Template/pc/default2/Static/img/user/index_1.jpg" alt="交易大厅"></i>交易大厅</a></li>
            <li><a href="/Home/Zmd/team.html"><i><img src="/Template/pc/default2/Static/img/user/index_5.jpg" alt="团队情况"  /></i>团队情况</a></li>
            <li><a href="/Home/Bank/money_day_log.html"><i><img src="/Template/pc/default2/Static/img/user/index_7.jpg" alt="奖金明细"></i>奖金明细</a></li>
            <li><a href="/Home/Article/sendemail.html"><i><img src="/Template/pc/default2/Static/img/user/index_8.jpg" alt="留言交流"></i>留言交流</a></li>
            <?php if($level_tixian == 1 ): ?><li><a href="/Home/Bank/withdrawals.html"><i><img src="/Template/pc/default2/Static/img/user/index_3.jpg" alt="奖金提现"  /></i>奖金提现</a></li><?php endif; ?>
            
            <li><a href="/Home/User/recharge.html"><i><img src="/Template/pc/default2/Static/img/user/index_2.jpg"  alt="货币充值" /></i>货币充值</a></li>
        </ul>
    </dd>
</dl>  --> <!--引入快捷导航  //-->
    <!-- 快捷导航 End //-->
</div>
        <!--右边菜单End-->
        <div class="mainfr-box">
            <div class="place">
                <span>位置：</span>
                <ul class="placeul">
                <li><a href="#">首页 ></a></li>
                <li><a href="#">团队管理 ></a></li>
                <li><a href="#">推荐会员列表</a></li>
                </ul>
                <ul class="placeula">
                    <li><a href="javascript:location.reload()"><span class="placea"></span>刷新</a></li>
                    <li><a href="javascript:history.go(-1)"><span class="placea"></span>返回上一页</a></li>
                </ul>
            </div>
            <div class="clr"></div>
            <!--  <div class="formbody">
               <ul class="seachform Inquire-main" style="height: 200px" >
                   <div><label>推广链接：</label>
                       <input type="text" class="scinput" style="width:650px;" value="<?php echo ($tgurl); ?>" id="copy-num"/>
                       <button  type="submit"  class="scbtn1" onclick="jsCopy()">复制</button>
                       
                   </div > 
                   <img src="/Home/Index/qr_code?url=<?php echo ($tgurl_m); ?>" alt="">
               </ul>
                        </div> -->
            <div class="main">
                <table class="Inquire-table2">
                    <tr>
                        <th>注册时间</th>
                        <!-- <th>呢称</th> -->
                        <th>姓名</th>
                        <th>账号</th>
                        <th>手机</th>
                        <!--<th>邮箱</th>-->
                        <th>会员级别</th>
                        <th>VIP状态</th>
                    </tr>
                    <?php if(is_array($tjr_list)): foreach($tjr_list as $key=>$coupon): ?><tr class="odd">
                         <td><p><?php echo (date('Y-m-d H:i:s',$coupon["reg_time"])); ?></p></td>
                         <!-- <td><p><?php echo ($coupon["nickname"]); ?></p></td> -->
                         <td><p><?php echo ($coupon["bank_name"]); ?></p></td>
                         <td><p><?php echo ($coupon["account"]); ?></p></td>
                         <td><span><?php echo ($coupon["mobile"]); ?></span></td>
                         <!--<td><?php echo ($coupon["email"]); ?></td> -->
                         <td><span><?php echo ($coupon["level_name"]); ?></span></td>
                         <td><p class="p-link">
                             <?php if($coupon["is_activate"] == 0): if($tpshop_config['reg_is_jh2_statu'] == 1): ?><a href="<?php echo U('Home/Zmd/tjr_kthuiyuan',array('user_id'=>$coupon['user_id']));?>" onClick="return confirm('本次操作将扣除您相应的库存积分，确认激活VIP？');" ><b style='color:red;'>VIP未激活</b></a> 
                                      | <a href="<?php echo U('Home/User/user_delete',array('user_id'=>$coupon['user_id']));?>" onClick="return confirm('确认删除？');" ><b style='color:red;'>删除</b></a><?php else: ?><b style='color:red;'>未激活</b>  | <a href="<?php echo U('Home/User/user_delete',array('user_id'=>$coupon['user_id']));?>" onClick="return confirm('确认删除？');" ><b style='color:red;'>删除</b></a><?php endif; ?>
                                 <?php else: ?>己激活 <?php echo (date('Y-m-d H:i:s',$coupon["jh_time"])); endif; ?></p>
                         </td>
                    </tr><?php endforeach; endif; ?>
                </table>
               <div class="pages"><div align="right"><?php echo ($page); ?></div></div>
            </div>
        </div>
    </div>
    <div class="clr"></div>
    <!--footer start //-->
    <div class="footer">
    <div class="helpful layout"></div>
     <div class="keep-on-record">
        <p>
        Copyright © 2017 净易生  版权所有 
        </p>
     </div>
 </div>
 

    <!--footer  end //-->
</body>
<script>
function jsCopy()
{
var Url2=document.getElementById("copy-num");
Url2.select(); // 选择对象
document.execCommand("Copy"); // 执行浏览器复制命令
alert("已复制好，可贴粘。");
}
</script>
</html>